package com.bst.bsj.common.dal.daointerface;

import java.util.List;
import java.util.Map;

import com.bst.bsj.common.dal.dataobject.Member;
import com.sylinxsoft.tools.dao.CommonBaseDAO;


public interface MemberDAO extends CommonBaseDAO {
  
  /*
   *总条数，条件查询
   */
  public Long getCounts(Map paramMap);

  /*
   * 分页查询
   */
  public List<Member> selectAll(Map paramMap, Long offset, Long length);

  /*
   * 根据ID查询对象
   */
  public Member getMember(Long id);

  /*
   *更新
   */
  public int update(Member member);

  /*
   * 注册统计
   */
  public List<Map<String, Object>>  queryAll(Map<String, Object> paramsMap);

  /*
   * 取所有可用member的uid,用于消息发送
   */
  public List<String> getAllUid(Map<String, Object> paramsMap);

  public void deleteByParams(Map<String, Object> paramsMap);

}
